# -*- encoding: utf-8 -*-
"""
File Name: zabbix_alarm_manager
Description:
Author : 'lirui'
date: 2024/1/16
Contact: marjey_lee@163.com
Change Activity:
2024/1/16:
"""
from projects.monitoring.alarm_manager.modules.alarm_handle.AlarmHandler import AlarmHandler
from projects.monitoring.alarm_manager.utils.format.impl.zabbix_alarm_format import ZabbixAlarmFormat


class InternetZabbixAlarmHandler(AlarmHandler):
    REDIS_KEY = 'internet_zabbix_problems'

    @staticmethod
    def _format_receive_alarm(data):
        return ZabbixAlarmFormat(data)()
